#include <my_header.h>
#include "PthreadArry.h"
#include "ReadyQueue.h"
#include "InternetOperator.h"



#include "Train.h"
#include "Usr.h"
#include "UserLink.h"
#include "login.h"
#include "registered.h"
#include "getsDispose.h"
#include "putsDispose.h"
#include "lsDispose.h"
#include "cdDispose.h"
#include "mkdirDispose.h"
#include "rmdirDispose.h"
#include "rmfileDispose.h"


typedef struct threadpool{
    PthreadArry thd_arry;
    ReadyQueue rdy_que;
    pthread_mutex_t lock1;   //管新来链接的
    pthread_mutex_t lock2;   //管用户链表的
    pthread_cond_t cond;
    UserLink ul;        // 一二期用不到
}PthreadPool;




int pthreadPoolInit(PthreadPool * pp,int size);




